{"version":3,"file":"dropdown_field.map.js","names":["BX","namespace","setTextContent","Landing","Utils","escapeText","data","offsetTop","offsetLeft","UI","Field","Dropdown","options","this","items","BaseField","apply","arguments","setEventNamespace","subscribeFromOptions","Component","fetchEventsFromOptions","onChangeHandler","onChange","frame","layout","classList","add","popup","input","addEventListener","onInputClick","bind","classForTextNode","document","onDocumentClick","rootWindow","PageObject","getRootWindow","hint","header","querySelector","Dom","append","top","Hint","createNode","type","isPlainObject","keys","Object","map","key","name","value","Type","isArrayFilled","Loc","getMessage","content","setTimeout","emit","setValue","prototype","constructor","__proto__","event","stopPropagation","contentRoot","popupRoot","contains","popupWindow","popupContainer","menuItems","forEach","item","hidden","push","mahHeight","maxHeight","delimiter","html","text","undefined","onclick","onItemClick","className","PopupMenuWindow","id","Date","bindElement","bindOptions","forceBindPosition","targetContainer","events","onPopupClose","remove","angle","parentElement","appendChild","style","position","isShown","close","show","rect","getBoundingClientRect","left","height","width","postfix","property","onValueChangeHandler","fireEvent","getValue","dataset","preventEvent","onFrameLoad","element","selector","find","isChanged"],"sources":["dropdown_field.js"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,uBAEb,IAAIC,EAAiBF,GAAGG,QAAQC,MAAMF,eAEtC,IAAIG,EAAaL,GAAGG,QAAQC,MAAMC,WAClC,IAAIC,EAAON,GAAGG,QAAQC,MAAME,KAC5B,IAAIC,EAAYP,GAAGG,QAAQC,MAAMG,UACjC,IAAIC,EAAaR,GAAGG,QAAQC,MAAMI,WASlCR,GAAGG,QAAQM,GAAGC,MAAMC,SAAW,SAASC,GAEvCC,KAAKC,MAAQ,UAAWF,GAAWA,EAAQE,MAAQF,EAAQE,MAAQ,CAAC,EACpEd,GAAGG,QAAQM,GAAGC,MAAMK,UAAUC,MAAMH,KAAMI,WAC1CJ,KAAKK,kBAAkB,gCACvBL,KAAKM,qBAAqBnB,GAAGG,QAAQM,GAAGW,UAAUC,uBAAuBT,IACzEC,KAAKS,uBAAyBV,EAAQW,WAAa,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